package com.ude.pim.service;

import com.ude.pim.common.R;
import com.ude.pim.dto.CaseSubCommentDTO;
import com.ude.pim.entity.CaseSubComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yb
 * @since 2023-08-08
 */
public interface CaseSubCommentService extends IService<CaseSubComment> {

    R<List<CaseSubComment>> getListByCaseSubId(Long id);

    R<List<CaseSubCommentDTO>> getPendingReview();

    R<List<CaseSubCommentDTO>> getByUserAndStatus(CaseSubComment caseSubComment);
}
